What are Augmented Assignment Operators in python

42

# Augmented Assignment Operators are used to replace those statements 
# where binary operator takes two operands 


# Addition
a = 23
b = 3

# You can write a = a+b but this is more efficient

a += b

Comments

Submit
0 Comments